package com.pro.common.api.model.mq;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Builder
@Schema(description = "支付成功后通知业务信息")
public class PaymentNotifyDataBusiness implements Serializable {
    @Serial
    private static final long serialVersionUID = -7990047354641272147L;
    // 输入
    @Schema(description = "业务类型", example = "EnumPaymentBizType_枚举")
    private String bizType;

    @Schema(description = "对应业务单号")
    private Long bizId;

    @Schema(description = "支付金额")
    private BigDecimal payAmount;

    @Schema(description = "是否成功")
    private Boolean statusSuccess;

    @Schema(description = "是否失败")
    private Boolean statusFail;
}
